package com.itcv.spring.security.demo.dao;


import com.itcv.spring.security.demo.model.SysFunc;
import com.itcv.spring.security.demo.result.SysFuncRole;
import com.itcv.spring.security.demo.result.SysUserFunc;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SysFuncDao {
    int deleteByPrimaryKey(Long id);

    int insert(SysFunc record);

    int insertSelective(SysFunc record);

    SysFunc selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysFunc record);

    int updateByPrimaryKey(SysFunc record);

    List<SysUserFunc> listUserFunc(Integer userId);

    List<SysFuncRole> listFuncRole();
}